home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q103 / 4 / 74.TXT < prev    next >
Text File  |  1993-11-16  |  4KB  |  80 lines

  1. DOCUMENT:Q103474  02-NOV-1993  [W_NT]
  2. TITLE   :Implementing Scheduled Backups with Windows NT Backup
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. The Backup utility included with Windows NT and Windows NT Advanced
  16. Server does not include functionality for scheduling unattended
  17. backups. However, using the Schedule service in conjunction with the
  18. command line capabilities of the Backup utility, you can set up
  19. unattended backups.
  20.  
  21. The following procedure shows how to use the Schedule service and the
  22. Backup utility to schedule an unattended backup of the entire C: drive
  23. of a computer with an installed tape device. With minor modifications,
  24. these steps could also allow for scheduling unattended backups from a
  25. computer on a network to a computer with a tape device installed or
  26. other configurations.
  27.  
  28. 1. Start the Schedule service on the machine with the tape device   
  29.    installed. This can be done by using the Services portion of
  30.    Control Panel, selecting Schedule, and choosing Start. In addition,
  31.    you may wish to configure the Schedule service to start every time
  32.    Windows NT starts by choosing Startup and setting the Schedule
  33.    Service Startup Type to Automatic. Please refer to pages 471-472 of
  34.    the Windows Advanced Server System Guide to verify the correct "log
  35.    on" account needed for local and/or remote backup priviliges. For
  36.    Windows NT, please refer to the System Guide pages 177-178.
  37.  
  38. 2. Using any text editor, such as Notepad, create a command file
  39.    (MYBACKUP.CMD) to perform the commands to backup the requested
  40.    files. 
  41.  
  42.    The following example would back up all files on the C: drive,
  43.    replacing any files currently on the tape, label the backup set 
  44.    "My Backup Files," backup the local registry, and log all backup
  45.    information to C:\BACKUP.LOG:
  46.  
  47.       ntbackup backup c: /D "My Backup Files" /B /L "c:\backup.log"
  48.  
  49.    NOTE: For additional information on available NTBACKUP options,
  50.    search Windows NT Help for NTBACKUP.
  51.  
  52. 3. Using the AT command, schedule the command file (MYBACKUP.CMD)
  53.    to run when desired. The following AT command will schedule
  54.    MYBACKUP.CMD to execute at 11:00 P.M. every Monday, Wednesday,
  55.    and Friday:
  56.  
  57.    AT 23:00 /every:M,W,F MYBACKUP.CMD
  58.  
  59.    NOTE: For additional information on available AT options, type "AT /?"
  60.    at a command prompt or search the online Command Reference for AT.
  61.  
  62. Additional reference words: 3.10 W_NTAS
  63. KBCategory:
  64. KBSubcategory: ntap
  65.  
  66. =============================================================================
  67.  
  68. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  69. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  70. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  71. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  72. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  73. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  74. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  75. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  76. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  77. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  78. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  79.  
  80. Copyright Microsoft Corporation 1993.